package com.visionblue.business.ship.modbus;

public class ModbusFunction {
    // 读单个线圈
    public static final int READ_COILS = 1;
    // 读离散量输入
    public static final int READ_DISCRETE_INPUTS = 2;
    // 读保持寄存器
    public static final int READ_HOLDING_REGISTERS = 3;
    // 读输入寄存器
    public static final int READ_INPUT_REGISTERS = 4;
    // 写单个线圈
    public static final int WRITE_SINGLE_COIL = 5;
    // 写单个寄存器
    public static final int WRITE_SINGLE_REGISTER = 6;
}
